package cn.edu.mju.property.dao;

import cn.edu.mju.property.entity.Notice;
import cn.edu.mju.property.entity.Repair;

import java.util.List;

public interface NoticeDao {


    /*添加报修数据*/
    public boolean addNotice(Notice notice);

    /*删除报修数据*/
    public boolean delNotice();

    /*修改报修数据*/
    public boolean updateNotice(Notice notice);

    /*获取分页数据*/
    public List<Notice> findNoticeByPage(int start, int rows);

    /*获取总记录数*/
    public int findTotalCount();

}
